package protocol;

import java.io.Serializable;
import java.net.InetAddress;

@SuppressWarnings("serial")
public class ServerInfo implements Serializable{
	public String serverName;
	public InetAddress serverAddress;
	public byte playerCount;
	public boolean passwordRequired;
	public byte freeSlots;
	public boolean gameStarted;
	
	public ServerInfo(String serverName, InetAddress serverAddress, byte playerCount, boolean passwordRequired, byte freeSlots, boolean gameStarted) {
		this.serverName = serverName;
		this.serverAddress=serverAddress;
		this.playerCount=playerCount;
		this.passwordRequired = passwordRequired;
		this.freeSlots=freeSlots;
		this.gameStarted = gameStarted;
	}
}
